Skip to content

Conversation

ramseth001
Copy link

Can define string values for title, subtitle and button texts without using getString method.

@ramseth001
Copy link
Author

ramseth001 commented Sep 27, 2019

@MagicDog707 The above commit enables the user to create null negative listener.

So, instead of defining like this

.setNegativeListener(getString(R.string.dismiss), new iOSDialogClickListener() {
	    @Override
	    public void onClick(iOSDialog dialog) {
		dialog.dismiss();
	    }
	})

we can define like this
.setNegativeListener(getString(R.string.dismiss), null)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant